package org.crumbleworks.crumbchat.server.controller;

import org.crumbleworks.crumbchat.common.data.Message;

public interface ServerControllerInterface {

    public abstract void bindPorts(int tcpPort, int udpPort);

    public abstract void unbindPorts(boolean shutdownAfterUnbind);

    public abstract void sendMessageToClients(String text);

    public abstract void putMessageToChat(Message message);

    public abstract void showBindError(int tcpPort, int udpPort);

    public abstract void shutdown();

    public abstract void parseInput(String input);

}
